package com.dragon.modules.yuegou.mapper.wallet;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.wallet.Mem2merGrantedcardTradeEntity;
import com.dragon.modules.yuegou.model.wallet.Statistics;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 会员到商户的悦卡交易（会员向商户支付） Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-05-08 16:00:30
 * @version 2.0
 */
@Component("waltMem2merGrantedcardTradeMapper")
public interface Mem2merGrantedcardTradeMapper extends BaseMapper<Mem2merGrantedcardTradeEntity> {

	/**
	 * 结算数据统计
	 * */
	IPage<Statistics> search(IPage<Statistics> page, @Param("cardTemplateId")String cardTemplateId,@Param("merchantId")String merchantId);

	/**
	 * 查询商户信息列表
	 * */
	List<Statistics> search(@Param("cardTemplateId")String cardTemplateId,@Param("merchantId")String merchantId);

	
}
